'''
Created on 02/07/2010

@author: sbrito
'''

URL_CANDIDATE_LIST = 'http://divulgacand2010.tse.jus.br/divulgacand2010/candidatoAutoComplete.do?\
noCandLimpo=%s\
&sgUe=%s\
&cdCargo=%s\
&cdSituacaoCandidato=%s\
&orderBy=cand.NM_CANDIDATO'

URL_CANDIDATE_DETAIL = 'http://divulgacand2010.tse.jus.br/divulgacand2010/jsp/abrirTelaDetalheCandidato.action?sqCand=%s&sgUe=%s'
URL_IMG = 'http://divulgacand2010.tse.jus.br/divulgacand2010/carregaFotoCandidatoServlet.do'

GLOBAL_DATABASE_NAME = 'elections_2010.sql3'
STATE_DATABASE_NAME = '%s.sql3'

TYPE_PRESIDENT = '1'
TYPE_VICE_PRESIDENT = '2'
TYPE_GOVERNOR = '3'
TYPE_VICE_GOVERNOR = '4'
TYPE_SENATOR = '5'
TYPE_FEDERAL_DEPUTY = '6'
TYPE_STATE_DEPUTY = '7'

CANDIDATE_SITUATION_ABLE = '1'
CANDIDATE_SITUATION_UNABLE = '2'
CANDIDATE_SITUATION_ALL = '3'